/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/*
 * JFrameVeterinario.java
 *
 * Created on 29/10/2011, 11:20:03
 */
package visao;

/**
 *
 * @author David
 */
public class JFrameVeterinario extends javax.swing.JFrame {

    /** Creates new form JFrameVeterinario */
    public JFrameVeterinario() {
        initComponents();
    }

    /** This method is called from within the constructor to
     * initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is
     * always regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        pnlDadosProfFunc = new javax.swing.JPanel();
        lblCRMV = new javax.swing.JLabel();
        txtCRMV = new javax.swing.JTextField();
        jScrollPaneEspecialidade = new javax.swing.JScrollPane();
        jListEspe = new javax.swing.JList();
        jScrollPaneEspecIncluir = new javax.swing.JScrollPane();
        jListEspecIncluir = new javax.swing.JList();
        btnEnviar = new javax.swing.JButton();
        btnReceber = new javax.swing.JButton();
        lblEspecialidade = new javax.swing.JLabel();
        barMenuAcoes = new javax.swing.JToolBar();
        btnNovo = new javax.swing.JButton();
        btnExcluir = new javax.swing.JButton();
        btnEditar = new javax.swing.JButton();
        btnSalvar = new javax.swing.JButton();
        jPanelBuscaCli = new javax.swing.JPanel();
        jScrollPaneBuscaCli = new javax.swing.JScrollPane();
        tbeResultado = new javax.swing.JTable();
        lblResultado = new javax.swing.JLabel();
        lblPesquisa = new javax.swing.JLabel();
        cbxFiltro = new javax.swing.JComboBox();
        txtPesquisa = new javax.swing.JTextField();
        btnBuscar = new javax.swing.JButton();
        pnlDados = new javax.swing.JPanel();
        txtCodigo = new javax.swing.JTextField();
        lblCodigo = new javax.swing.JLabel();
        txtNome = new javax.swing.JTextField();
        lblNome = new javax.swing.JLabel();
        jPanelTelefone = new javax.swing.JPanel();
        txtResidencia = new javax.swing.JTextField();
        txtCel = new javax.swing.JTextField();
        txtComercial = new javax.swing.JTextField();
        txtRecado = new javax.swing.JTextField();
        lblResidencial = new javax.swing.JLabel();
        lblCelular = new javax.swing.JLabel();
        lblComercial = new javax.swing.JLabel();
        lblRecado = new javax.swing.JLabel();
        jPanelEndereco = new javax.swing.JPanel();
        txtEnd = new javax.swing.JTextField();
        txtCidade = new javax.swing.JTextField();
        txtCep = new javax.swing.JTextField();
        lblCidade = new javax.swing.JLabel();
        lblEstado = new javax.swing.JLabel();
        lblCep = new javax.swing.JLabel();
        cboEstado = new javax.swing.JComboBox();
        lblDtNascimento = new javax.swing.JLabel();
        txtDtNascimento = new javax.swing.JFormattedTextField();
        lblDtCadastro = new javax.swing.JLabel();
        lblDtNascimento1 = new javax.swing.JLabel();
        txtDtNascimento1 = new javax.swing.JFormattedTextField();
        txtDtCadastro1 = new javax.swing.JFormattedTextField();
        lblDtCadastro1 = new javax.swing.JLabel();
        txtDtCadastro = new javax.swing.JFormattedTextField();

        setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);

        pnlDadosProfFunc.setBorder(javax.swing.BorderFactory.createTitledBorder(null, "Dados Profissionais", javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, new java.awt.Font("Verdana", 1, 12), new java.awt.Color(51, 51, 51))); // NOI18N
        pnlDadosProfFunc.setFont(new java.awt.Font("Verdana", 1, 12));

        lblCRMV.setFont(new java.awt.Font("Verdana", 0, 12));
        lblCRMV.setForeground(new java.awt.Color(51, 51, 51));
        lblCRMV.setText("CRMV");

        txtCRMV.setFont(new java.awt.Font("Verdana", 0, 12));

        jListEspe.setFont(new java.awt.Font("Verdana", 0, 12));
        jListEspe.setForeground(new java.awt.Color(51, 51, 51));
        jListEspe.setModel(new javax.swing.AbstractListModel() {
            String[] strings = { "Item 1", "Item 2", "Item 3", "Item 4", "Item 5" };
            public int getSize() { return strings.length; }
            public Object getElementAt(int i) { return strings[i]; }
        });
        jScrollPaneEspecialidade.setViewportView(jListEspe);

        jListEspecIncluir.setFont(new java.awt.Font("Verdana", 0, 12));
        jListEspecIncluir.setForeground(new java.awt.Color(51, 51, 51));
        jListEspecIncluir.setModel(new javax.swing.AbstractListModel() {
            String[] strings = { "Item 1", "Item 2", "Item 3", "Item 4", "Item 5" };
            public int getSize() { return strings.length; }
            public Object getElementAt(int i) { return strings[i]; }
        });
        jScrollPaneEspecIncluir.setViewportView(jListEspecIncluir);

        btnEnviar.setText(">");

        btnReceber.setText("<");

        lblEspecialidade.setFont(new java.awt.Font("Verdana", 0, 12));
        lblEspecialidade.setForeground(new java.awt.Color(51, 51, 51));
        lblEspecialidade.setText("Especialidades");

        javax.swing.GroupLayout pnlDadosProfFuncLayout = new javax.swing.GroupLayout(pnlDadosProfFunc);
        pnlDadosProfFunc.setLayout(pnlDadosProfFuncLayout);
        pnlDadosProfFuncLayout.setHorizontalGroup(
            pnlDadosProfFuncLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(pnlDadosProfFuncLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(pnlDadosProfFuncLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(pnlDadosProfFuncLayout.createSequentialGroup()
                        .addComponent(lblCRMV)
                        .addGap(28, 28, 28)
                        .addComponent(txtCRMV, javax.swing.GroupLayout.PREFERRED_SIZE, 174, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addComponent(lblEspecialidade)
                    .addGroup(pnlDadosProfFuncLayout.createSequentialGroup()
                        .addComponent(jScrollPaneEspecialidade, javax.swing.GroupLayout.PREFERRED_SIZE, 136, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(pnlDadosProfFuncLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(btnEnviar)
                            .addComponent(btnReceber))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(jScrollPaneEspecIncluir, javax.swing.GroupLayout.PREFERRED_SIZE, 139, javax.swing.GroupLayout.PREFERRED_SIZE)))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );
        pnlDadosProfFuncLayout.setVerticalGroup(
            pnlDadosProfFuncLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(pnlDadosProfFuncLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(pnlDadosProfFuncLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(txtCRMV, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(lblCRMV))
                .addGap(13, 13, 13)
                .addComponent(lblEspecialidade)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(pnlDadosProfFuncLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(jScrollPaneEspecIncluir, javax.swing.GroupLayout.DEFAULT_SIZE, 228, Short.MAX_VALUE)
                    .addGroup(pnlDadosProfFuncLayout.createSequentialGroup()
                        .addComponent(btnEnviar)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(btnReceber))
                    .addComponent(jScrollPaneEspecialidade, javax.swing.GroupLayout.DEFAULT_SIZE, 228, Short.MAX_VALUE))
                .addContainerGap())
        );

        barMenuAcoes.setBorder(javax.swing.BorderFactory.createEtchedBorder());
        barMenuAcoes.setRollover(true);
        barMenuAcoes.setToolTipText("Sair");

        btnNovo.setIcon(new javax.swing.ImageIcon(getClass().getResource("/images/page.png"))); // NOI18N
        btnNovo.setToolTipText("Novo");
        btnNovo.setFocusable(false);
        btnNovo.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);
        btnNovo.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);
        barMenuAcoes.add(btnNovo);

        btnExcluir.setIcon(new javax.swing.ImageIcon(getClass().getResource("/images/bin_closed.png"))); // NOI18N
        btnExcluir.setToolTipText("Editar");
        btnExcluir.setFocusable(false);
        btnExcluir.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);
        btnExcluir.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);
        barMenuAcoes.add(btnExcluir);

        btnEditar.setIcon(new javax.swing.ImageIcon(getClass().getResource("/images/pencil.png"))); // NOI18N
        btnEditar.setToolTipText("Salvar");
        btnEditar.setFocusable(false);
        btnEditar.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);
        btnEditar.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);
        barMenuAcoes.add(btnEditar);

        btnSalvar.setIcon(new javax.swing.ImageIcon(getClass().getResource("/images/disk.png"))); // NOI18N
        btnSalvar.setToolTipText("Excluir");
        btnSalvar.setFocusable(false);
        btnSalvar.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);
        btnSalvar.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);
        barMenuAcoes.add(btnSalvar);

        jPanelBuscaCli.setBorder(javax.swing.BorderFactory.createTitledBorder(null, "Busca", javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, new java.awt.Font("Verdana", 1, 12), new java.awt.Color(51, 51, 51))); // NOI18N

        tbeResultado.setFont(new java.awt.Font("Verdana", 0, 12));
        tbeResultado.setForeground(new java.awt.Color(51, 51, 51));
        tbeResultado.setModel(new javax.swing.table.DefaultTableModel(
            new Object [][] {
                {null, null, null, null},
                {null, null, null, null},
                {null, null, null, null},
                {null, null, null, null},
                {null, null, null, null},
                {null, null, null, null},
                {null, null, null, null},
                {null, null, null, null},
                {null, null, null, null},
                {null, null, null, null}
            },
            new String [] {
                "Código", "Nome", "Endereço", "RG "
            }
        ) {
            boolean[] canEdit = new boolean [] {
                false, false, false, false
            };

            public boolean isCellEditable(int rowIndex, int columnIndex) {
                return canEdit [columnIndex];
            }
        });
        jScrollPaneBuscaCli.setViewportView(tbeResultado);

        lblResultado.setFont(new java.awt.Font("Verdana", 0, 12));
        lblResultado.setForeground(new java.awt.Color(51, 51, 51));
        lblResultado.setText("Resultado da Pesquisa:");

        lblPesquisa.setFont(new java.awt.Font("Verdana", 0, 12));
        lblPesquisa.setForeground(new java.awt.Color(51, 51, 51));
        lblPesquisa.setText("Pesquisar por:");

        cbxFiltro.setFont(new java.awt.Font("Verdana", 0, 12));
        cbxFiltro.setForeground(new java.awt.Color(51, 51, 51));
        cbxFiltro.setMaximumRowCount(4);
        cbxFiltro.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Código", "Nome ", "CPF", "Cidade", "Endereço" }));

        txtPesquisa.setFont(new java.awt.Font("Verdana", 0, 11));
        txtPesquisa.setForeground(new java.awt.Color(51, 51, 51));
        txtPesquisa.setToolTipText("");

        btnBuscar.setFont(new java.awt.Font("Verdana", 0, 12));
        btnBuscar.setForeground(new java.awt.Color(51, 51, 51));
        btnBuscar.setText("Buscar");

        javax.swing.GroupLayout jPanelBuscaCliLayout = new javax.swing.GroupLayout(jPanelBuscaCli);
        jPanelBuscaCli.setLayout(jPanelBuscaCliLayout);
        jPanelBuscaCliLayout.setHorizontalGroup(
            jPanelBuscaCliLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanelBuscaCliLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jPanelBuscaCliLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanelBuscaCliLayout.createSequentialGroup()
                        .addComponent(jScrollPaneBuscaCli, javax.swing.GroupLayout.PREFERRED_SIZE, 930, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addContainerGap())
                    .addGroup(jPanelBuscaCliLayout.createSequentialGroup()
                        .addGroup(jPanelBuscaCliLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(lblResultado)
                            .addGroup(jPanelBuscaCliLayout.createSequentialGroup()
                                .addComponent(lblPesquisa)
                                .addGap(18, 18, 18)
                                .addComponent(cbxFiltro, javax.swing.GroupLayout.PREFERRED_SIZE, 156, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                                .addComponent(txtPesquisa, javax.swing.GroupLayout.PREFERRED_SIZE, 192, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 12, Short.MAX_VALUE)
                                .addComponent(btnBuscar)))
                        .addContainerGap(402, Short.MAX_VALUE))))
        );
        jPanelBuscaCliLayout.setVerticalGroup(
            jPanelBuscaCliLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanelBuscaCliLayout.createSequentialGroup()
                .addGroup(jPanelBuscaCliLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(lblPesquisa)
                    .addGroup(jPanelBuscaCliLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                        .addComponent(cbxFiltro, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addComponent(txtPesquisa, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addComponent(btnBuscar)))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(lblResultado)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jScrollPaneBuscaCli, javax.swing.GroupLayout.PREFERRED_SIZE, 140, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );

        pnlDados.setBorder(javax.swing.BorderFactory.createTitledBorder(null, "Dados do Cliente", javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, new java.awt.Font("Verdana", 1, 12), new java.awt.Color(51, 51, 51))); // NOI18N

        txtCodigo.setEditable(false);
        txtCodigo.setFont(new java.awt.Font("Verdana", 0, 12));
        txtCodigo.setForeground(new java.awt.Color(51, 51, 51));

        lblCodigo.setFont(new java.awt.Font("Verdana", 0, 12));
        lblCodigo.setForeground(new java.awt.Color(51, 51, 51));
        lblCodigo.setText("Código:");

        txtNome.setEditable(false);
        txtNome.setFont(new java.awt.Font("Verdana", 0, 12));
        txtNome.setForeground(new java.awt.Color(51, 51, 51));
        txtNome.setToolTipText("");

        lblNome.setFont(new java.awt.Font("Verdana", 0, 12));
        lblNome.setForeground(new java.awt.Color(51, 51, 51));
        lblNome.setText("Nome:");

        jPanelTelefone.setBorder(javax.swing.BorderFactory.createTitledBorder(null, "Telefones", javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, new java.awt.Font("Verdana", 1, 12), new java.awt.Color(51, 51, 51))); // NOI18N

        txtResidencia.setFont(new java.awt.Font("Verdana", 0, 12));
        txtResidencia.setForeground(new java.awt.Color(51, 51, 51));

        txtCel.setFont(new java.awt.Font("Verdana", 0, 12));
        txtCel.setForeground(new java.awt.Color(51, 51, 51));

        txtComercial.setFont(new java.awt.Font("Verdana", 0, 12));
        txtComercial.setForeground(new java.awt.Color(51, 51, 51));

        txtRecado.setFont(new java.awt.Font("Verdana", 0, 12));
        txtRecado.setForeground(new java.awt.Color(51, 51, 51));

        lblResidencial.setFont(new java.awt.Font("Verdana", 0, 12));
        lblResidencial.setForeground(new java.awt.Color(51, 51, 51));
        lblResidencial.setText("Residencial:");

        lblCelular.setFont(new java.awt.Font("Verdana", 0, 12));
        lblCelular.setForeground(new java.awt.Color(51, 51, 51));
        lblCelular.setText("Celular:");

        lblComercial.setFont(new java.awt.Font("Verdana", 0, 12));
        lblComercial.setForeground(new java.awt.Color(51, 51, 51));
        lblComercial.setText("Comercial:");

        lblRecado.setFont(new java.awt.Font("Verdana", 0, 12));
        lblRecado.setForeground(new java.awt.Color(51, 51, 51));
        lblRecado.setText("Recado:");

        javax.swing.GroupLayout jPanelTelefoneLayout = new javax.swing.GroupLayout(jPanelTelefone);
        jPanelTelefone.setLayout(jPanelTelefoneLayout);
        jPanelTelefoneLayout.setHorizontalGroup(
            jPanelTelefoneLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanelTelefoneLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jPanelTelefoneLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(lblResidencial)
                    .addComponent(lblCelular)
                    .addComponent(lblComercial)
                    .addComponent(lblRecado))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                .addGroup(jPanelTelefoneLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                    .addComponent(txtRecado)
                    .addComponent(txtResidencia, javax.swing.GroupLayout.DEFAULT_SIZE, 122, Short.MAX_VALUE)
                    .addComponent(txtCel)
                    .addComponent(txtComercial))
                .addContainerGap())
        );
        jPanelTelefoneLayout.setVerticalGroup(
            jPanelTelefoneLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanelTelefoneLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jPanelTelefoneLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(txtResidencia, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(lblResidencial))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanelTelefoneLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(txtCel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(lblCelular))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanelTelefoneLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(txtComercial, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(lblComercial))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanelTelefoneLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(txtRecado, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(lblRecado))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );

        jPanelEndereco.setBorder(javax.swing.BorderFactory.createTitledBorder(null, "Endereço", javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, new java.awt.Font("Verdana", 1, 12), new java.awt.Color(51, 51, 51))); // NOI18N

        txtEnd.setFont(new java.awt.Font("Verdana", 0, 12));
        txtEnd.setForeground(new java.awt.Color(51, 51, 51));

        txtCidade.setFont(new java.awt.Font("Verdana", 0, 12));
        txtCidade.setForeground(new java.awt.Color(51, 51, 51));

        txtCep.setFont(new java.awt.Font("Verdana", 0, 12));
        txtCep.setForeground(new java.awt.Color(51, 51, 51));

        lblCidade.setFont(new java.awt.Font("Verdana", 0, 12));
        lblCidade.setForeground(new java.awt.Color(51, 51, 51));
        lblCidade.setText("Cidade:");

        lblEstado.setFont(new java.awt.Font("Verdana", 0, 12));
        lblEstado.setForeground(new java.awt.Color(51, 51, 51));
        lblEstado.setText("Estado:");

        lblCep.setFont(new java.awt.Font("Verdana", 0, 12));
        lblCep.setForeground(new java.awt.Color(51, 51, 51));
        lblCep.setText("CEP:");

        javax.swing.GroupLayout jPanelEnderecoLayout = new javax.swing.GroupLayout(jPanelEndereco);
        jPanelEndereco.setLayout(jPanelEnderecoLayout);
        jPanelEnderecoLayout.setHorizontalGroup(
            jPanelEnderecoLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanelEnderecoLayout.createSequentialGroup()
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                .addGroup(jPanelEnderecoLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanelEnderecoLayout.createSequentialGroup()
                        .addComponent(txtEnd, javax.swing.GroupLayout.PREFERRED_SIZE, 294, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addContainerGap())
                    .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanelEnderecoLayout.createSequentialGroup()
                        .addGroup(jPanelEnderecoLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(lblCidade)
                            .addComponent(lblEstado))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addGroup(jPanelEnderecoLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                            .addGroup(jPanelEnderecoLayout.createSequentialGroup()
                                .addComponent(cboEstado, javax.swing.GroupLayout.PREFERRED_SIZE, 73, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                                .addComponent(lblCep)
                                .addGap(18, 18, 18)
                                .addComponent(txtCep))
                            .addComponent(txtCidade, javax.swing.GroupLayout.PREFERRED_SIZE, 235, javax.swing.GroupLayout.PREFERRED_SIZE))
                        .addGap(153, 153, 153))))
        );
        jPanelEnderecoLayout.setVerticalGroup(
            jPanelEnderecoLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanelEnderecoLayout.createSequentialGroup()
                .addComponent(txtEnd, javax.swing.GroupLayout.PREFERRED_SIZE, 49, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addGroup(jPanelEnderecoLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(lblCidade)
                    .addComponent(txtCidade, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanelEnderecoLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(lblEstado)
                    .addComponent(cboEstado, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(lblCep)
                    .addComponent(txtCep, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addContainerGap(23, Short.MAX_VALUE))
        );

        lblDtNascimento.setFont(new java.awt.Font("Verdana", 0, 12));
        lblDtNascimento.setForeground(new java.awt.Color(51, 51, 51));
        lblDtNascimento.setText("Data de Nasc:");

        txtDtNascimento.setEditable(false);
        txtDtNascimento.setForeground(new java.awt.Color(51, 51, 51));

        lblDtCadastro.setFont(new java.awt.Font("Verdana", 0, 12));
        lblDtCadastro.setForeground(new java.awt.Color(51, 51, 51));
        lblDtCadastro.setText("CPF:");

        lblDtNascimento1.setFont(new java.awt.Font("Verdana", 0, 12));
        lblDtNascimento1.setForeground(new java.awt.Color(51, 51, 51));
        lblDtNascimento1.setText("Email:");

        txtDtNascimento1.setEditable(false);
        txtDtNascimento1.setForeground(new java.awt.Color(51, 51, 51));

        txtDtCadastro1.setEditable(false);
        txtDtCadastro1.setForeground(new java.awt.Color(51, 51, 51));

        lblDtCadastro1.setFont(new java.awt.Font("Verdana", 0, 12));
        lblDtCadastro1.setForeground(new java.awt.Color(51, 51, 51));
        lblDtCadastro1.setText("Data de Cadastro:");

        txtDtCadastro.setEditable(false);
        txtDtCadastro.setForeground(new java.awt.Color(51, 51, 51));

        javax.swing.GroupLayout pnlDadosLayout = new javax.swing.GroupLayout(pnlDados);
        pnlDados.setLayout(pnlDadosLayout);
        pnlDadosLayout.setHorizontalGroup(
            pnlDadosLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(pnlDadosLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(pnlDadosLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(pnlDadosLayout.createSequentialGroup()
                        .addComponent(jPanelTelefone, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addComponent(jPanelEndereco, javax.swing.GroupLayout.PREFERRED_SIZE, 330, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addGroup(pnlDadosLayout.createSequentialGroup()
                        .addGroup(pnlDadosLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(lblDtNascimento)
                            .addComponent(lblDtCadastro)
                            .addComponent(lblDtNascimento1)
                            .addComponent(lblNome)
                            .addComponent(lblCodigo))
                        .addGap(18, 18, 18)
                        .addGroup(pnlDadosLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                            .addComponent(txtDtCadastro1)
                            .addComponent(txtDtNascimento1)
                            .addComponent(txtDtNascimento)
                            .addGroup(pnlDadosLayout.createSequentialGroup()
                                .addComponent(txtCodigo, javax.swing.GroupLayout.PREFERRED_SIZE, 149, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                                .addComponent(lblDtCadastro1)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                                .addComponent(txtDtCadastro, javax.swing.GroupLayout.PREFERRED_SIZE, 162, javax.swing.GroupLayout.PREFERRED_SIZE))
                            .addComponent(txtNome))))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );
        pnlDadosLayout.setVerticalGroup(
            pnlDadosLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(pnlDadosLayout.createSequentialGroup()
                .addGroup(pnlDadosLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(txtNome, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(lblNome))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(pnlDadosLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(txtDtNascimento1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(lblDtNascimento1))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(pnlDadosLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(txtDtCadastro1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(lblDtCadastro))
                .addGap(4, 4, 4)
                .addGroup(pnlDadosLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(lblDtNascimento)
                    .addComponent(txtDtNascimento, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(pnlDadosLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(txtCodigo, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(lblCodigo)
                    .addComponent(lblDtCadastro1)
                    .addComponent(txtDtCadastro, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(12, 12, 12)
                .addGroup(pnlDadosLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(jPanelTelefone, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jPanelEndereco, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                .addContainerGap())
        );

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
        getContentPane().setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGap(0, 989, Short.MAX_VALUE)
            .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                .addGroup(layout.createSequentialGroup()
                    .addGap(0, 0, Short.MAX_VALUE)
                    .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                        .addComponent(barMenuAcoes, javax.swing.GroupLayout.PREFERRED_SIZE, 989, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addGroup(layout.createSequentialGroup()
                            .addGap(10, 10, 10)
                            .addComponent(jPanelBuscaCli, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                        .addGroup(layout.createSequentialGroup()
                            .addGap(14, 14, 14)
                            .addComponent(pnlDados, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addGap(10, 10, 10)
                            .addComponent(pnlDadosProfFunc, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
                    .addGap(0, 0, Short.MAX_VALUE)))
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGap(0, 613, Short.MAX_VALUE)
            .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                .addGroup(layout.createSequentialGroup()
                    .addGap(0, 0, Short.MAX_VALUE)
                    .addComponent(barMenuAcoes, javax.swing.GroupLayout.PREFERRED_SIZE, 27, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addGap(6, 6, 6)
                    .addComponent(jPanelBuscaCli, javax.swing.GroupLayout.PREFERRED_SIZE, 230, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addGap(18, 18, 18)
                    .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                        .addComponent(pnlDados, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addComponent(pnlDadosProfFunc, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addGap(0, 0, Short.MAX_VALUE)))
        );

        pack();
    }// </editor-fold>//GEN-END:initComponents

    /**
     * @param args the command line arguments
     */
    public static void main(String args[]) {
        /* Set the Nimbus look and feel */
        //<editor-fold defaultstate="collapsed" desc=" Look and feel setting code (optional) ">
        /* If Nimbus (introduced in Java SE 6) is not available, stay with the default look and feel.
         * For details see http://download.oracle.com/javase/tutorial/uiswing/lookandfeel/plaf.html 
         */
        try {
            for (javax.swing.UIManager.LookAndFeelInfo info : javax.swing.UIManager.getInstalledLookAndFeels()) {
                if ("Nimbus".equals(info.getName())) {
                    javax.swing.UIManager.setLookAndFeel(info.getClassName());
                    break;
                }
            }
        } catch (ClassNotFoundException ex) {
            java.util.logging.Logger.getLogger(JFrameVeterinario.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (InstantiationException ex) {
            java.util.logging.Logger.getLogger(JFrameVeterinario.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (IllegalAccessException ex) {
            java.util.logging.Logger.getLogger(JFrameVeterinario.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (javax.swing.UnsupportedLookAndFeelException ex) {
            java.util.logging.Logger.getLogger(JFrameVeterinario.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        }
        //</editor-fold>

        /* Create and display the form */
        java.awt.EventQueue.invokeLater(new Runnable() {

            public void run() {
                new JFrameVeterinario().setVisible(true);
            }
        });
    }
    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JToolBar barMenuAcoes;
    private javax.swing.JButton btnBuscar;
    private javax.swing.JButton btnEditar;
    private javax.swing.JButton btnEnviar;
    private javax.swing.JButton btnExcluir;
    private javax.swing.JButton btnNovo;
    private javax.swing.JButton btnReceber;
    private javax.swing.JButton btnSalvar;
    private javax.swing.JComboBox cboEstado;
    private javax.swing.JComboBox cbxFiltro;
    private javax.swing.JList jListEspe;
    private javax.swing.JList jListEspecIncluir;
    private javax.swing.JPanel jPanelBuscaCli;
    private javax.swing.JPanel jPanelEndereco;
    private javax.swing.JPanel jPanelTelefone;
    private javax.swing.JScrollPane jScrollPaneBuscaCli;
    private javax.swing.JScrollPane jScrollPaneEspecIncluir;
    private javax.swing.JScrollPane jScrollPaneEspecialidade;
    private javax.swing.JLabel lblCRMV;
    private javax.swing.JLabel lblCelular;
    private javax.swing.JLabel lblCep;
    private javax.swing.JLabel lblCidade;
    private javax.swing.JLabel lblCodigo;
    private javax.swing.JLabel lblComercial;
    private javax.swing.JLabel lblDtCadastro;
    private javax.swing.JLabel lblDtCadastro1;
    private javax.swing.JLabel lblDtNascimento;
    private javax.swing.JLabel lblDtNascimento1;
    private javax.swing.JLabel lblEspecialidade;
    private javax.swing.JLabel lblEstado;
    private javax.swing.JLabel lblNome;
    private javax.swing.JLabel lblPesquisa;
    private javax.swing.JLabel lblRecado;
    private javax.swing.JLabel lblResidencial;
    private javax.swing.JLabel lblResultado;
    private javax.swing.JPanel pnlDados;
    private javax.swing.JPanel pnlDadosProfFunc;
    private javax.swing.JTable tbeResultado;
    private javax.swing.JTextField txtCRMV;
    private javax.swing.JTextField txtCel;
    private javax.swing.JTextField txtCep;
    private javax.swing.JTextField txtCidade;
    private javax.swing.JTextField txtCodigo;
    private javax.swing.JTextField txtComercial;
    private javax.swing.JFormattedTextField txtDtCadastro;
    private javax.swing.JFormattedTextField txtDtCadastro1;
    private javax.swing.JFormattedTextField txtDtNascimento;
    private javax.swing.JFormattedTextField txtDtNascimento1;
    private javax.swing.JTextField txtEnd;
    private javax.swing.JTextField txtNome;
    private javax.swing.JTextField txtPesquisa;
    private javax.swing.JTextField txtRecado;
    private javax.swing.JTextField txtResidencia;
    // End of variables declaration//GEN-END:variables
}
